package com.kbatis.sqlsession;

import java.util.List;

/**
 * @ClassName SqlSession
 * @Description
 * @Author 小黄
 * @Date 2019/11/15 19:57
 * @Version 1.0
 */
public interface SqlSession {
    <T> T selectOne(String statementId, Object param, Boolean isHightLight);

    <T> List<T> selectList(String statementId, Object param, Boolean isHightLight);

    Long getCount(String statementId, Object param);

    Boolean executeInsert(String statementId, Object param);

    Boolean executeDelete(String statementId, Object param);

    Boolean executeUpdate(String statementId, Object param);
}
